Class Payment_worldpay

Description

worldpay payment system class

Located in /include/systems/classes/worldpay.php (line 10)

Payment_Data_Kipper
   |
   --Payment_worldpay
Method Summary
Payment_worldpay Payment_worldpay (int $mode, bool $debug)
bool checkPayment (... 0)
mixed doPayment ()
Variables
Methods
Constructor Payment_worldpay (line 51)

Standard constructor. Nothing should be changed here.

Payment_worldpay Payment_worldpay (int $mode, bool $debug)
  • int $mode: Mode of class funtioning
  • bool $debug: Debug mode
checkPayment (line 128)

Checks the incoming data to be set correctly in accord with the parameters set.

  • return: true- in case all the parameters are set correctly and the payment was successfully processed, false - in case parameters are set incorrectly or payment failed.
  • access: public
bool checkPayment (... 0)
  • ... 0: Parameters enumeration. Transfer by link.
doPayment (line 100)

Method used for sending data to the server of Payment System.

According to the type of Payment System there is either redirect to the site of Payment System(POST), or the URL is put in the heading.

  • return: In case when all the parameters were ser correctly, nothing will be returned, there will be redirect, otherwise notification will be generated and false will be returned
  • access: public
mixed doPayment ()

Inherited Methods

Inherited From Payment_Data_Kipper

Payment_Data_Kipper::Payment_Data_Kipper()
Payment_Data_Kipper::fieldExist()
Payment_Data_Kipper::formMessage()
Payment_Data_Kipper::getField()
Payment_Data_Kipper::getFields()
Payment_Data_Kipper::isRequired()
Payment_Data_Kipper::makeFields()
Payment_Data_Kipper::makeOptional()
Payment_Data_Kipper::makeOptionalField()
Payment_Data_Kipper::makeRequired()
Payment_Data_Kipper::makeRequiredField()
Payment_Data_Kipper::set()
Payment_Data_Kipper::setFrom()

Documentation generated on Thu, 04 Sep 2008 16:15:33 +0400 by phpDocumentor 1.3.0RC3